import Vue from 'vue';
import VueRouter from 'vue-router';
Vue.use(VueRouter);
export default new VueRouter({
    mode:'hash',
    routes:[
        {
            path:'/',
            redirect:'/home'
        },
        {
            path:'/home',
            name:'home',
            component:()=>import('../views/Home.vue')
        },
        {
            path:'/hmxz',
            name:'hmxz',
            component:()=>import('../views/Hmxz.vue')
        },
        {
            path:'/eatany',
            name:'eatany',
            component:()=>import('../views/EatAny.vue')
        },
        {
            path:'/car',
            name:'car',
            component:()=>import('../views/Car.vue')
        },
        {
            path:'/myself',
            name:'myself',
            component:()=>import('../views/Myself.vue')
        }
    ]
})